package com.jzo2o.foundations.mapper;

import com.jzo2o.foundations.model.domain.Region;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.jzo2o.foundations.model.dto.response.ServeAggregationSimpleResDTO;
import com.jzo2o.foundations.model.dto.response.ServeAggregationTypeSimpleResDTO;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * <p>
 * 区域表 Mapper 接口
 * </p>
 *
 * @author itcast·
 * @since 2023-07-03
 */
public interface RegionMapper extends BaseMapper<Region> {

    List<ServeAggregationTypeSimpleResDTO> serveTypeList(Long regionId);

    List<ServeAggregationSimpleResDTO> hotServeList(Long regionId);
}
